<template>
  <div id="app">
    <!-- <img src="./assets/logo.png"> -->
    <!-- <label for="locale">locale</label> -->
    <select v-model="locale">
      <option>en</option>
      <option>zh</option>
    </select>
    <router-view />
  </div>
</template>

<script>
export default {
  name: 'App',
  data() { return { locale: 'zh' } },
  watch: {
    locale(val) {
      this.$i18n.locale = val
    }
  }
}
</script>

<style>
#app {
  font-family: "Avenir", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
